window.onload=function(){
				mui.init()

			var area = "选择地址";
			var picker = new mui.PopPicker({
			    layer: 3,
			    buttons:['取消','完成']
			})
			

		    picker.setData([
		    	{
			        value: '100',
			        text: '北京市',
			        children: [{
		                value: "110",
		                text: "北京市",
		                children: [{
			                value: "111",
			                text: "东城区"
			        	},{
			                value: "112",
			                text: "海淀区"
			       		},{
			                value: "113",
			                text: "朝阳区"
				        }]
			        }]
			    },
			    {
			        value: '200',
			        text: '广东省',
			        children: [{
				        value: "210",
			            text: "汕头市",
			            children: [{
					        value: "211",
				            text: "龙湖区"
				        }, {
				            value: "212",
				            text: "澄海区"
				        }, {
				            value: "213",
				            text: "濠江区"
				        }]
			        }, {
			            value: "220",
			            text: "广州市",
			            children: [{
					        value: "221",
				            text: "番禺区"
				        }, {
				            value: "222",
				            text: "白云区"
				        }, {
				            value: "223",
				            text: "天河区"
				        }]
			        }, {
			            value: "230",
			            text: "深圳市",
			            children: [{
					        value: "231",
				            text: "福田区"
				        }, {
				            value: "232",
				            text: "南山区"
				        }, {
				            value: "233",
				            text: "宝安区"
				        }]
			        }]
			    }
		    ])


			picker.pickers[0].setSelectedIndex(0);
			picker.pickers[1].setSelectedIndex(0);
			picker.pickers[2].setSelectedIndex(0);


			document.getElementById('set-area').addEventListener('tap',function(){
				picker.show(function(SelectedItem) {
					area=SelectedItem[0].text+''+SelectedItem[1].text+''+SelectedItem[2].text;
					document.querySelector("#area").value = area;
				})
			})

			
}
